diff options
Diffstat (limited to 'smoke/docs-main/src/pages/[slug].astro')
-rw-r--r-- | smoke/docs-main/src/pages/[slug].astro | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/smoke/docs-main/src/pages/[slug].astro b/smoke/docs-main/src/pages/[slug].astro deleted file mode 100644 index 4717cc732..000000000 --- a/smoke/docs-main/src/pages/[slug].astro +++ /dev/null @@ -1,19 +0,0 @@ ---- -export async function getStaticPaths() { - // get english pages that moved from `/` to `/en/` - const englishPages = Astro.fetchContent('./en/**.md'); - - // add pages that are `*.astro` files as well - const otherPages = [{ url: '/en/themes' }]; - return [...englishPages, ...otherPages].map((page) => ({ - params: { - slug: page.url.slice(4), - }, - props: { - englishSlug: page.url, - }, - })); -} ---- - -<meta http-equiv="refresh" content={`0;url=/docs${Astro.props.englishSlug}`} /> |